Ftp example

The execution of "ftp" produced the following audit trail under Solaris 2.5:

libC/Inside Shared Library Tracing.  V1.0.1 (Solaris 2.5).
Copyright (C) 1996, Electris Software Limited, All Rights Reserved.
 
        Tracing started Sat May 25 16:53:48 1996
 
        Pid is 397
        Log file is /tmp/Inside.00397.1
        Log file descriptor is 3

        File descriptors open: 0, 1, 2
 
        uid=2(bin) gid=2(bin) groups=2(bin),3(sys)
 
        Program is ftp
 
_start+0x30->atexit(call_fini)
return(0)
_start+0x3c->atexit(_fini)
return(0)
main+0x20->getservbyname("ftp", "tcp")
return((s_name="ftp", s_aliases=((null)), s_port=21, s_proto="tcp"))
main+0x294->isatty(0)
return(1)
main+0x2b4->strcpy(typename, "ascii")
return(typename)
main+0x2d8->strcpy(formname, "non-print")
return(formname)
main+0x2fc->strcpy(modename, "stream")
return(modename)
main+0x320->strcpy(structname, "file")
return(structname)